package it.fuesi.bubblekids.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by pascotto on 12/11/14.
 */
public enum PreferenceName {

    n_circles,
    min_circle_radius,
    max_circle_radius,
    bg_color,
    highest_score(false);


    public boolean editable = true;

    private PreferenceName(boolean editable){
        this.editable = editable;
    }

    private PreferenceName(){
    }

    public static final List<PreferenceName> getEditablePreferences(){
        final List<PreferenceName> list = new ArrayList<PreferenceName>();

        for(PreferenceName pref : PreferenceName.values()){
            if(pref.editable)
                list.add(pref);
        }

        return list;
    }

}
